/*********************
* Author:Dzlua
* QQ:505544956
* time:2016/08/10
*/
#ifndef __EDUI_WINDOWMGR_H__
#define __EDUI_WINDOWMGR_H__

#include "Mgr.h"
#include "../interface/IWindow.h"

EDUI_NAMESPACE_BEGIN

class EDUI_API WindowMgr : public Mgr<IWindow>
{
public:
    WindowMgr();
    ~WindowMgr();
public:
    void RemoveByID(Uint32 wndID);
    IWindow* GetByID(Uint32 wndID);
    void RemoveByName(const char* name);
    IWindow* GetByName(const char* name);
};

EDUI_NAMESPACE_END

#endif